package day02;

public class workplace {
    public static void main(String[] args) {
        int a=10;
        int b,c,d;
        b=11;c=12;d=13;
        int g=20;
        int h=g+10;
        System.out.println(h);
        /*
        int 1a=10;
        int  age=23;

         */
        //int类型
        int e=25;
        int f=2;
        System.out.println(e/f);//12
        System.out.println(25.0/2);
        //long类型
        long s=30l;
        long z=10000000000l;

        long q=1000000000*2*10l;
        System.out.println(q);
        long w=1000000000*3*10l;
        System.out.println(w);//不是300亿
        long r=1000000000l*3*10;
        System.out.println(r);

        //double类型
        double t=3.14156;
        float y=3.14156f;
        double j=3.0,k=2.9;
        System.out.println(j-k);//0.10000000000000009发生舍入误差

        //boolean
        boolean l=true;
        boolean o=false;

        //char
        char c1='女';
        char c2='2';
        char c3='f';
        char c4=' ';
        char c5='\\';
        System.out.println(c5);

        //数据转换





    }
}
